package com.qf.service;

import com.github.pagehelper.PageInfo;
import com.qf.entity.User;

import java.util.List;

public interface UserService {
    //增
    int insertUser(User user);
    //删
    int deleteUser(int id);
    //改
    int updateUser(User user);
    //查所有
    PageInfo<User> queryUserAll(int pageNum,int pageSize);
    //查单个
    User selectUserById(int id);
}
